@layout("/common/_container.html"){
<link href="${ctxPath}/static/css/plugins/awesome-bootstrap-checkbox/awesome-bootstrap-checkbox.css" rel="stylesheet"/>
<div class="ibox float-e-margins">
    <div class="ibox-content">
        <div class="form-horizontal" id="storeyInfoForm">

            <input type="hidden" id="id" value="">
            <input type="hidden" id="pareaTypes" value="">
            <div class="row">
                <div class="col-sm-12">
                    <#input id="name" name="办公楼名称"/>
                </div>
            </div>
            <div class="row">
                <label class="col-sm-3 control-label">选择巡视区域类型</label>
                <div class="col-sm-9">
                    @for(s in patrolAreas){
                    <div class="checkbox checkbox-success checkbox-inline">
                        <input type="checkbox" id="inlineCheckbox${s.id}" value="${s.id}" name="pareaTypes">
                        <label for="inlineCheckbox${s.id}"> ${s.name} </label>
                    </div>
                    @}
                </div>
            </div>
            <div class="row btn-group-m-t">
                <div class="col-sm-12">
                    <#button btnCss="info" name="提交" id="ensure" icon="fa-check" clickFun="StoreyInfoDlg.addSubmit()"/>
                    <#button btnCss="danger" name="取消" id="cancel" icon="fa-eraser" clickFun="StoreyInfoDlg.close()"/>
                </div>
            </div>
        </div>

    </div>
</div>
<script src="${ctxPath}/static/modular/system/storey/storey_info.js"></script>
@}
